#KERN_DIR = /usr/src/linux-headers-$(shell uname -r)
KERN_DIR = /lib/modules/$(shell uname -r)/build
all:
	make -C $(KERN_DIR) M=$(shell pwd) modules

clean:
	make -C $(KERN_DIR) M=$(shell pwd) modules clean
	rm -rf modules.order

obj-m += kptiprobe.o
